/**
 * 
 */
package com.vision.sales.cm.serv.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.sencha.gxt.data.shared.loader.PagingLoadResult;
import com.vision.core.cm.exception.RpcException;
import com.vision.core.cm.serv.rpc.AbstractService;
import com.vision.sales.cl.ui.component.TransactionLoadConfig;
import com.vision.sales.cm.data.TransactionStatus;
import com.vision.sales.cm.db.data.CreditMemo;

/**
 * @author Mark
 *
 */
@RemoteServiceRelativePath("credit_memo")
public interface CreditMemoService extends AbstractService<CreditMemo> {
	
	PagingLoadResult<CreditMemo> getList(TransactionLoadConfig config) throws RpcException;
	
	List<CreditMemo> getCreditMemos(TransactionStatus status) throws RpcException;
	
	List<CreditMemo> postCreditMemos(List<CreditMemo> creditMemos) throws RpcException;
	
}
